<script lang="ts">
import {defineComponent} from 'vue'
//引入VueOfficeExcel组件
import VueOfficeExcel from '@vue-office/excel'
//引入相关样式
import '@vue-office/excel/lib/index.css'
// @ts-ignore
export default defineComponent({
  name: "ShowExcel",
  props: {
    src:{
      type: String,
      default: ()=> ''
    }
  },
  components:{
    VueOfficeExcel
  },
})
</script>

<template>
  <VueOfficeExcel
    :src="src"
  />
</template>

<style scoped lang="scss">
</style>
